github.com/gotd/td/internal/mtproto.badMessageError.Code (field)
6 uses
github.com/gotd/td/internal/mtproto (current package)
handle_bad_msg.go#L13: Code int
handle_bad_msg.go#L36: }[c.Code]
handle_bad_msg.go#L38: return fmt.Sprintf("bad msg error code %d", c.Code)
handle_bad_msg.go#L55: c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
handle_bad_msg.go#L63: c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
rpc.go#L34: if errors.As(err, &badMsgErr) && badMsgErr.Code == codeIncorrectServerSalt {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |